.first-step-form {
    &-form {
        display: flex;
        flex-direction: column;
        margin-top: 100px;
        gap: 48px;
    }

    &-fields {
        display: flex;
        flex-direction: column;
    }

    &-input {
        width: 100%;
        max-width: 300px;
        margin: 0;
        margin-top: 8px;
    }

    &-credential {
        position: relative;
    }

    &-helper {
        position: absolute;
        bottom: -28px;
        font-size: 12px;
        line-height: 16px;
    }

    &-select {
        margin-top: 8px;
        width: 100%;
        max-width: 300px;
        height: 44px;

        svg {
            top: calc(50% - 4px);
            right: 16px;
        }
    }

    &-footer {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 88px;
        gap: 12px;
    }

    @media screen and (max-width: 768px) {
        &-form {
            margin-top: 48px;
            gap: 24px;
        }

        &-helper {
            bottom: -20px;
        }
    }

    @media screen and (max-width: 400px) {
        &-footer {
            flex-direction: column-reverse;
        }
    }
}
